home *** CD-ROM | disk | FTP | other *** search
- Path: Gamma.RU!srcc!newsserver
- Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.nt.misc,fido7.windows.nt,fido7.windows
- Message-ID: <ADygSAnCM1@r-style.msk.su>
- Organization: JV R-Style
- Date: Tue, 20 Feb 1996 16:21:00 +0300 (MSK)
- From: "Alex Lubimov" <lubimov@r-style.msk.su>
- X-Mailer: dMail [Demos Mail for DOS v1.23]
- Subject: Tale of my woe: IMPLIB from Borland IDE
- Keywords: borland implib error dll windows
- Distribution: su
- Sender: news-service@srcc.msu.su
- X-Return-Path: gamma!rstyle!r-style.msk.su!lubimov
-
- Dear All,
-
- Here's the tale of my woe...
-
- I'm doing a project in Borland C++ 4.52 IDE, which contains a
- 32-bit .DLL target. Every time when I have to run IMPLIB, I get
- a message:
-
- "Critical error during transfer"
-
- The corresponding .LIB file is created, but its size is 0
- (zero).
-
- Below I will describe my project environment and sort of report
- on my own investigation.
- I'll be grateful for any sort of feedback.
-
-
- Project environment:
- --------------------
-
- PC: Pentium-60, RAM 16M, HDD1: Quantum 270M, HDD2: Samsung 540M
- OS: WindowsNT Workstation 3.51 Build 1057
- IDE: Borland C++ 4.52
-
-
- Sort of report...
- -----------------
-
- This problem of mine has quite a long history. :-(
- Couple of months ago, working under Borland C++ 4.5, I was
- struck by a message
-
- "Unable to find [Internal]"
-
- at attempt to run IMPLIB (through "Make" or "Link and Implib").
- As far as I understood, [Internal] stands for the path to IMPLIB
- tool, as it was described in Options | Tools... under name
- "ImportLibraryCreate".
-
- I couldn't fix the problem then, and finally had to make new
- project file (.IDE) from scratch. Error disappeared.
-
- ---------------------------------------------------------------
- Remark: I HAVE already tried this with Borland 4.52 - without
- any result.
- I even did more - I reformatted hard disk D: and
- reinstalled both WinNT and Borland...
- Tricks with BCW.INI (Inherit, Read/Save asText) failed
- too.
- ---------------------------------------------------------------
-
- Now, In Borland C++ 4.52 I noticed, that I had actually TWO
- IMPLIBS: as .DLL and as .EXE:
- implib.dll is 16-bit
- implib.exe is 32-bit
-
- Borland IDE always calls IMPLIB.DLL - and fails; invoking
- IMPLIB.DLL manually via ALT-F10 | Special | Implib gives same
- result. Whereas, IMPLIB.EXE works just fine.
-
- There is one thing that disorients me. Among OWL examples,
- there is one that also produces .DLL:
- \BC45\EXAMPLES\OWL\OWLAPI\DLLHELLO\dllhello.ide
- It builds just fine! (Also, .IDE file created with Borland 4.02 runs
- implib without error)
- I tried to insert my .DLL as a target in this successful project
- file. WHAM! (I mean - Critical error during transfer)
-
- This error seems to stick to Windows NT: I have a mate here who
- suffers same problem with totally independent project; but we
- were unable to reproduce this error under Windows 95.
-
- OK, that's my sad story...
- Guess, there is no need to explicitly put the question.
-
- Regards,
-
- Alex Lubimov
-
- R-Style Software Lab
- Moscow, Russia
-
-
-